<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');?>

	<table width="620" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
				
				<table width="100%" cellpadding="0" cellspacing="0" border="0" bgcolor="#ff9900">
					<tr>
						<td style="height:32px; padding-top:0; padding-right: 10px; padding-bottom: 0; padding-left: 0; margin:0; border:0; width: 175px; vertical-align: middle;">
							<a href="<?php echo $link['home']; ?>" target="_blank" style="outline:none; padding:0; margin:0;">
								<img alt="" src="<?php echo $link['imagepath'] ?>logo.gif" style="margin:0; padding:0; display:block; border:0; outline:none;" />
							</a>
						
						</td>
						<td style="height:32px; padding-top:0; padding-right: 10px; padding-bottom: 0; padding-left: 0; margin:0; border:0; vertical-align:middle; text-align: right; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; font-weight: bold; color: #ffffff; line-height: 20px;">&nbsp;
						</td>
					</tr>
				</table>
				
				
				<table width="620" cellpadding="0" cellspacing="0" border="0" >
					<tr>
						<td style="vertical-align: top; border-bottom: 1px solid #d6d6d6; border-left: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; padding-right: 20px; pading-top: 20px; padding-bottom: 20px; padding-left: 20px; text-align: left;">
							<div style=" background-image: url(<?php echo $link['imagepath'] ?>bg.gif); background-repeat: no-repeat; background-position: right bottom; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #333333; display: block; overflow: hidden;">
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									&nbsp;
								</p>
								
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									<?php echo $addbanner_lang['mess_to_pub_title']; ?>
								</p>
								
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									&nbsp;
								</p>
								
								<div style="font-family: Arial, Helvetica, sans-serif; font-size: 17px; margin:0; padding: 0; color:#333333; border-top: 1px solid #d6d6d6; width: 578px;">
									<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
										&nbsp;
									</p>
									<p style="font-family: Arial, Helvetica, sans-serif; font-size: 17px; margin:0; padding: 0; color:#333333;">
										&nbsp;<?php echo $addbanner_lang['ad_preview_title']; ?>
									</p>
								</div>
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									&nbsp;
								</p>
								
								<table width="578" cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td width="278" style="width: 278px; margin:0; vertical-align: top; border-top: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; border-bottom: 1px solid #d6d6d6; border-left: 1px solid #d6d6d6; padding-top:10px; padding-right:10px; padding-bottom: 10px; padding-left: 10px;"> 
											<div style="width: 278px; overflow:hidden; margin:0;">
												<p style="margin:0; padding:0; font-weight: bold; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #333333; line-height: 20px;">
													<?php echo $bannerInfo['title']; ?>
												</p>
												<p style="font-family: Arial, Helvetica, sans-serif; font-size: 1px; margin:0; padding: 0; color:#333333;">
													&nbsp;
												</p>
												<p style="margin:0; padding:0; font-weight: normal; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; clear:both; color: #b9b9b9;">
													<a href="javascript:void(0);" style="font-weight: normal; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #b9b9b9; text-decoration: none;">
														<?php echo $bannerInfo['domain']; ?>
													</a>
												</p>
												<p style="font-family: Arial, Helvetica, sans-serif; font-size: 5px; margin:0; padding: 0; color:#333333;">
													&nbsp;
												</p>
												
												<table width="278" cellpadding="0" cellspacing="0" border="0">
													<tr>
														<td width="90">
															<img style="width:90px; height: 90px; border: 1px solid #d6d6d6; padding:0; margin: 0;" alt="" src="<?php echo $bannerInfo['image']; ?>" />
														</td>
														<td width="10" style="font-size: 2px;">
															&nbsp;
														</td>
														<td width="176" style="vertical-align: top;">
															<div style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #333333; line-height: 20px;">
																<?php echo $bannerInfo['bodytext']; ?>
															</div>
														</td>
													</tr>
												</table>
												
											</div>
										</td>
										<td width="20">
											&nbsp;
										</td>
										<td style="width: 258x; margin:0; padding:0; border:0; vertical-align: top; padding-top: 11px; padding-right: 0; padding-bottom:0; padding-left:0;">
											
											<p style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #333333; line-height: 20px;">
												<b><?php echo $addbanner_lang['user_create_info_title']; ?>:</b>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											<p style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #666666; line-height: 20px;">
												<b>Username:</b> <?php echo $userInfo['username']; ?>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											<p style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #666666; line-height: 20px;">
												<b><?php echo $addbanner_lang['user_create_fullname_title']; ?>:</b> <?php echo $userInfo['fullname']; ?>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											
											<p style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #333333; line-height: 20px;">
												<b><?php echo $addbanner_lang['camp_info_title']; ?>:</b>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											<p style="margin:0; padding:0; font-family: Tahoma, Geneva, sans-serif; font-size: 12px;color: #666666; line-height: 20px;">
												<b><?php echo $addbanner_lang['camp_name_title']; ?>:</b> <?php echo $campInfo['name']; ?>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
												<b><?php echo $addbanner_lang['camp_budget_title']; ?>:</b> <?php echo $campInfo['budget']; ?>
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 5px; color: #666666; margin:0; padding:0;">
												&nbsp;
											</p>
											<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
												<b><?php echo $addbanner_lang['camp_duration_title']; ?>:</b> <?php echo $campInfo['duration']; ?>
											</p>
										</td>
									</tr>
								</table>
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									&nbsp;
								</p>
								
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin: 0; line-height: 20px; padding:0;">
									<?php echo $addbanner_lang['note_title']; ?>
								</p>
								<p style="font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #666666; margin:0; padding:0; line-height: 20px;">
									&nbsp;
								</p>

								<table style="background-color: #f0f0f0; border: 1px solid #e2e2e2; overflow: hidden; width: auto;" cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td style="margin:0; padding:0 10px 0 20px; vertical-align: middle; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #333333; line-height: 20px;  height: 40px;">
											<?php echo $addbanner_lang['optimize_title']; ?>
										</td>
										<td style="margin:0; padding:0 10px 0 20px; vertical-align: middle; font-family: Tahoma, Geneva, sans-serif; font-size: 12px; color: #333333;  height: 40px;">
											<a href="<?php echo $link['home']; ?>" target="_blank" style="margin:0; padding:0; outline:none; border:0; display:block;" >
												<img style="height: 28px; width: 80px; margin:6px 0 6px 0; padding:0; outline:none; border:0;" alt="" src="<?php echo $link['imagepath'] ?>login_<?php echo $langcode; ?>.gif" />
											</a>
										</td>
									</tr>
								</table>
								
							</div>
						</td>
					</tr>
				</table>
			</td>
		</tr>
	</table>